import time
import datetime

data = time.localtime()
data2 = time.ctime()
data3 = datetime
#
print "Day and Date:", time.strftime("%a %y-%m-%d", time.localtime())
#
print "Day, Date :", time.strftime("%A, %B %d, %Y", time.localtime())
#
print "Time (12hr) :", time.strftime("%I:%M:%S %p", time.localtime())
#
print "Time (24hr) :", time.strftime("%H:%M:%S", time.localtime())
#
print "DayMonthYear:",time.strftime("%d%b%Y", time.localtime())

print data
print data2
print data3

print "---------------------------------------------------------\n"

data001 = time.strftime("%Y-%m-%d", time.localtime())
data002 = time.strftime("%H:%M:%S", time.localtime())
data003 = data001 + " " + data002

print data003